<template>
  <img alt="Vue logo" src="./assets/logo.png">
  <HelloWorld msg="Welcome to Your Vue.js App"/>
  <div class="text-red-500" id="app">
    <nav>
    <router-link to="/index">Home</router-link>
      <br/>
    <router-link to="/about">About</router-link>
      <span>
        <router-link to="/article_list">文章列表</router-link>

      </span>
      <br/>
    </nav>


  </div>
  <!--    路由组件渲染-->
  <router-view />
</template>

<script>
// import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'App',
  // components: {
  //   HelloWorld
  // }
}
</script>
<!-- 根组件 -->
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
